Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 ECR Cleanup Feature #48

Merged
merged 3 commits into from
Jan 17, 2024
Merged

🎉 ECR Cleanup Feature #48

merged 3 commits into from
Jan 17, 2024

Conversation

alubneuski
Copy link
Contributor

@alubneuski alubneuski commented Oct 11, 2023

Description

This pull request introduces a new feature that allows users to remove non-active container images from Amazon Elastic Container Registry (ECR). Over time, ECR repositories can accumulate a large number of container images, and this new functionality provides an automated way to clean up and manage these images, helping users save storage space, reduce costs, and remove old images with vulnerabilities.

Changes Made

  • Added a new command-line interface (CLI) option, --ecr_cleanup, to the existing ECR management tool.
    
  • Implemented logic to identify non-active images by comparing them with running containers in the associated Amazon Elastic Container Service (ECS) cluster.
    
  • Added a confirmation prompt to ensure users are aware of the images that will be removed.
    
  • Implemented image removal functionality based on the provided criteria.
    

Copy link
Member

@devbyaccident devbyaccident left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@alubneuski alubneuski merged commit 11d49b8 into main Jan 17, 2024
@alubneuski alubneuski deleted the feature/al/add-ecr-cleanup branch January 17, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants